package com.xhu.water_supply.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * 用于登录功能的数据传输对象（对应登录时的表单）
 */
@Data
@Builder
public class LoginDTO {
    @ApiModelProperty(value = "用户账号", example = "account", required = true)
    private String account;

    @ApiModelProperty(value = "登录密码",  required = true)
    private String password;

    @ApiModelProperty(value = "验证码", required = true)
    private String code;

    @ApiModelProperty(value = "验证码的Token", required = true)
    private String codeUid;
}
